vec4 blend(const in vec4 x, const in vec4 y, const in float opacity) {

	return mix(x, vec4(y.rgb * (1.0 - x.rgb), y.a), y.a * opacity);

}
